package CartReq

import "gdshop-font-api-go/app/request/BaseReq"

type Save struct {
	BaseReq.MemberLogin
	GoodsId       int  `v:"required|integer|min:1#请选择商品|商品ID格式错误|商品ID格式错误"`       // 商品ID
	GoodsOptionId uint `v:"required|integer|min:1#请选择商品规格|商品规格ID格式错误|商品规格ID格式错误"` // 商品规格ID
	GoodsNum      int  `v:"required|integer|min:1#请填写商品数量|商品数量格式错误|数量不能小于1"`      // 商品数量
	IsSelected    bool `d:"false"`
	CartId        int  `json:"cart_id"`
}
